import React from 'react';
import styles from './index.less';
import { Link } from 'umi';

export default () => {
  return (
    <div>
      <h1 className={styles.title}>目录</h1>
      <Link to="/page1">基础类型</Link>
      <br />
      <Link to="/page2">变量声明</Link>
      <br />
      <Link to="/page3">接口</Link>
      <br />
      <Link to="/page4">类</Link>
      <br />
      <Link to="/page5">函数</Link>
      <br />
      <Link to="/page6">泛型</Link>
      <br />
      <Link to="/page7">枚举</Link>
      <br />
      <Link to="/page8">类型推断</Link>
      <br />
      <Link to="/page9">类型兼容性</Link>
      <br />
      <Link to="/page10">高级类型</Link>
      <br />
      <Link to="/page11">模块</Link>
      <br />
      <Link to="/page12">命名空间</Link>
      <br />
      <Link to="/page13">模块解析</Link>
      <br />
      <Link to="/page14">JSX</Link>
      <br />
      <p>lodash 库有众多的声明文件</p>
    </div>
  );
};
